package com.hantanger.weblog.model;

import com.googlecode.objectify.annotation.Cache;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;


@Cache
@Entity
public class Archive {
	
	@Id private Long id;  //归档时间
	
	private int allCount; // 所有日志数量  包括草稿
	
	private int publicCount;// #公开的日志数量  不包括草稿
	
	private int publishedCount;// #已经发布的日志数量   公开与非公开

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public int getAllCount() {
		return allCount;
	}

	public void setAllCount(int allCount) {
		this.allCount = allCount;
	}

	public int getPublicCount() {
		return publicCount;
	}

	public void setPublicCount(int publicCount) {
		this.publicCount = publicCount;
	}

	public int getPublishedCount() {
		return publishedCount;
	}

	public void setPublishedCount(int publishedCount) {
		this.publishedCount = publishedCount;
	}
	
}
